//
//  LoginAndRegisterView.h
//  Comma
//
//  Created by liuchang on 15/1/16.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GlobalMacro.h"
@interface LoginAndRegisterView : UIView<UITextFieldDelegate>

@property (nonatomic, strong)UITextField * upTextField;
@property (nonatomic, strong)UITextField * downTextField;
@property (nonatomic, strong)UIButton * upButton;
@property (nonatomic, strong)UIButton * downButton;
@property (nonatomic, strong)UIButton * leftButton;
@property (nonatomic, strong)UIButton * rightButton;
@property (nonatomic, strong)UITextField * editingTextField;
@property (nonatomic, assign)CGFloat keyBoardHeight;
@property (nonatomic) BOOL viewDidChange;
@property (nonatomic) BOOL keyBoardDidShow;
- (instancetype)initWithUpTextField:(NSString *)upPlaceholder
                      DownTextField:(NSString *)downPlaceholder
                           UPButton:(NSString *)upButtonTitle
                         DownButton:(NSString *)downButtonTitle
                         LeftButton:(NSString *)leftButtonTitle
                        RightButton:(NSString *)rightButtonTitle;

// 按钮点击事件
- (void)upButtonAction:(id)sender;
- (void)downButtonAction:(id)sender;
- (void)leftButtonAction:(id)sender;
- (void)rightButtonAction:(id)sender;

/*创建logo图片*/
- (void)createLogoImage;


@end
